package com.collect.cameroon.zhiAdater.zhiLevelDetail;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.collect.cameroon.R;
import com.collect.cameroon.zhiBean.zhiReceive.ZHIRGroupUserPerformanceMergeEntity;

public class ZHILevelDetailMergeOrder extends BaseQuickAdapter<ZHIRGroupUserPerformanceMergeEntity, BaseViewHolder> {

    public ZHILevelDetailMergeOrder() {
        super(R.layout.item_level_detail_merge_order_list, null);
    }

    @Override
    protected void convert(BaseViewHolder helper, ZHIRGroupUserPerformanceMergeEntity item) {
        helper.setText(R.id.tv_detail_case_date, item.getStartDate() + "-" + item.getEndDate());
        helper.setText(R.id.tv_detail_case_name, item.getLoginName());
        helper.setText(R.id.tv_detail_case_level, item.getLevenDisplayFormat());
        helper.setText(R.id.tv_detail_case_total, item.getTotalNumFormat()+"");
        helper.setText(R.id.tv_detail_case_settle, item.getTodaySettledNumFormat()+"");
        helper.setText(R.id.tv_detail_case_rate, item.getSettledRateFormat());
    }
}
